package com.lantosec.hmrp.modules.internal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lantosec.hmrp.modules.internal.vo.InternalNoteVO;
import com.lantosec.hmrp.modules.internal.vo.InternalTypeVO;
import lombok.Data;

import java.util.List;

@Data
public class InternalPlanTarget {
    @TableId(value = "internal_plan_target_id", type = IdType.AUTO)
    private Integer internalPlanTargetId;
    /**
     * 评价方案ID
     */
    private Integer internalPlanId;

    /**
     * 被评价方形式
     */
    private Integer targetMode;

    /**
     * 被评价部门ID
     */
    private String deptId;

    /**
     * 被评价岗位ID
     */
    private String positionId;

    /**
     * 被评价人员ID
     */
    private String userId;

    /**
     * 被评价方ID
     */
    @TableField(exist = false)
    private String targetId;

    /**
     * 被评价方名称
     */
    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String deptName;
    @TableField(exist = false)
    private String positionName;

    /**
     * 评价记录列表
     */
    @TableField(exist = false)
    private List<InternalNoteVO> internalNoteVOList;

}
